package pl.ptemich.tankwars.objects;

public class Point {

    private int posX;

    private int posY;

    public Point(double x, double y) {
        this.posX = Double.valueOf(x).intValue();
        this.posY = Double.valueOf(y).intValue();
    }

    public int getPosX() {
        return posX;
    }

    public int getPosY() {
        return posY;
    }

    public double getdoublePosX() {
        return posX;
    }

    public double getdoublePosY() {
        return posY;
    }

    public void setX(int x) {
        this.posX = x;
    }

    public void setY(int y) {
        this.posY = y;
    }  
    
    
}
